package cn.wolfcode.luowowo.gold.service;

import cn.wolfcode.luowowo.gold.domain.Specification;

import java.util.List;

/**
 * @author 猫教授
 * @date 2019/8/24 14:02
 */
public interface ISpecificationService {
    /**
     * 查询某个商品对应的规格型号清单
     * @param productId
     * @return
     */
    List<Specification> selectByProductId(Long productId);

    /**
     * 查询型号对象
     * @param specId
     * @return
     */
    Specification getSpecificationById(Long specId);
}
